<script setup>
import Tabbar from '@/components/Tabbar.vue'
import { useState } from '@/hooks/useState'
const { state } = useState()
</script>

<template>
  <div>
    <div id="kf_safety">
      <div class="icon"></div>
      <div class="text">二维码已通过安全验证</div>
    </div>
    <div id="kf_beizhu">
      <p style="color:#f00;text-align:center;">在线时间</p>
      {{ state.config.workingtext }}
    </div>
    <div id="kfzm_qrcode"><img :src="state.config?.wechat?.qrcode"></div>
    <p class="wxnum">长按二维码，添加在线客服</p>
    <!-- <p class="wxnum">客服微信号：{{ state.config?.wechat?.account }} </p> -->
  </div>

  <Tabbar :activeMenu="1"/>
</template>

<style scoped lang="less">
#kf_safety {
    width: 100%;
    height: 45px;
    background: #e8fef2;
    position: fixed;
    top: 0;
}
#kf_safety .icon {
    width: 26px;
    height: 26px;
    float: left;
    background: url(http://hao.aissk.cn/img/renzhengIcon3.png) no-repeat;
    background-size: 100%;
    margin: 9.5px 9.5px;
}
#kf_safety .text {
    width: calc(100% - 45px);
    height: 45px;
    float: left;
    color: rgba(7,193,96);
    font-size: 15px;
    line-height: 45px;
}
#kf_beizhu {
    text-align: justify;
    color: #666;
    padding: 1px 15px 15px 15px;
    margin: 60px auto 0;
    background: #fff;
    border-radius: 10px;
    width: 90%;
    font-size: 15px;
}
#kfzm_qrcode img {
    width: 220px;
    height: 220px;
}
#scanTips {
    text-align: center;
    font-size: 15px;
    font-weight: bold;
    color: #999;
    margin: 15px auto 0;
}
#kfzm_qrcode {
    width: 220px;
    height: 220px;
    margin: 20px auto 0;
}
.wxnum {
    text-align: center;
    font-size: 16px;
    color: #666;
    margin: 17px auto 0;
}
#kf_online_true {
    width: 90%;
    padding: 15px 10px;
    background: rgba(7,193,96);
    border-radius: 10px;
    margin: 50px auto 0;
    text-align: center;
    font-size: 15px;
    color: black;
}
a {
    color: #337ab7;
    text-decoration: none;
}
</style>
